import request from '@/utils/request'

export function login (data) {
  return request({
    url: '/api/user/login',
    method: 'post',
    params: data, // req.params 获取
    data // req.body 获取
  })
}
